package cn.edu.ujn.park.dao;

import cn.edu.ujn.park.dao.ParkingRecord;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;
@Mapper
public interface ParkingRecordMapper {
    int deleteByPrimaryKey(Integer recordId);

    int insert(ParkingRecord row);

    int insertSelective(ParkingRecord row);

    ParkingRecord selectByPrimaryKey(Integer recordId);

    int updateByPrimaryKeySelective(ParkingRecord row);

    int updateByPrimaryKey(ParkingRecord row);

    List<ParkingRecord> selectAll(ParkingRecord parkingRecord);

    Integer selectCount();

    Integer computeTime(Integer recordId);

    List<ParkingRecord>  selectByRecordId(int id);

    int updateExit(ParkingRecord row);

}